<?php

header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename=xmlOutput.xml;');
echo $_POST['xmlFile'];

?>